#define _CRT_SECURE_NO_WARNINGS
#include "stack.h"
StackTest1()
{
	ST st;
	StackInit(&st);
	if (StackEmpty(&st))
	{
		printf("stack is empty\n");
	}
	else
	{
		printf("stack is not empty\n");
	}
	StackPush(&st,1);
	StackPush(&st,2);
	StackPush(&st,3);
	StackPush(&st,4);
	StackPush(&st,5);
	printf("%d\n", StackSize(&st));
	StackPop(&st);
	printf("%d\n", StackSize(&st));
	if (StackEmpty(&st))
	{
		printf("stack is empty\n");
	}
	else
	{
		printf("stack is not empty\n");
	}
	StackDestroy(&st);
}
int main()
{
	StackTest1();
	return 0;
}
